home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 31
/
Amiga Format CD31 (1998-09-02)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1998-10].iso
/
-seriously_amiga-
/
misc
/
cpublit98
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1998-07-16
|
821b
|
43 lines
#
# Lattice LKM makefile, for SAS/C C V5.10a :ts=8
#
# CpuBlit (C) Copyright Eddy Carroll, Feb 1991
#
#DBSYM = -d5
CFLAGS = -cusq -j88i -ms -v $(DBSYM)
BFLAGS = sc sd nd map ram:map
#BFLAGS = sc sd map ram:map addsym
LIBS = lib:lc.lib lib:amiga.lib
ASM = lc:asm
.c.o:
lc $(CFLAGS) -Hsystem.sym $*.c
.s.o:
$(ASM) -iinclude: $*.s # Standard "pure" assembly
.a.o:
$(ASM) -u -iinclude: $*.a # Prefixes all labels with style underscore
.n.doc:
nro >$*.doc -ms:an $*.n
.h.sym:
lc1 -ph -o$*.sym $*.h
#
# Makefile dependencies
#
NAME = cpublit
all: $(NAME)
OBJS = small.o $(NAME).o scroll.o res.o
$(NAME): $(OBJS) makefile
blink from $(OBJS) to $(NAME) $(BFLAGS) lib $(LIBS)
system.sym: system.h
cpublit.o: cpublit.c scroll.h system.sym
small.o: small.a
scroll.o: scroll.s
res.o: res.s